package qingxin.factory;

import qingxin.dao.*;
import qingxin.dao.impl.*;

public class DAOFactory {
	public static NewsDAO getNewsDAO(){
		return new NewsDAOImpl();
	}
	public static JournalistDAO getJournalistDAO(){
		return new JournalistDAOImpl();
	}
	public static NewsCommentDAO getNewsCommentDAO(){
		return new NewsCommentDAOImpl();
	}
	public static NewsJournalistDAO getNewsJournalistDAO(){
		return new NewsJournalistDAOImpl();
	}
	public static NewsTagDAO getNewsTagDAO(){
		return new NewsTagDAOImpl();
	}
	public static PhotoDAO getPhotoDAO(){
		return new PhotoDAOImpl();
	}
	public static UserDAO getUserDAO(){
		return new UserDAOImpl();
	}
	public static VoteDAO getVoteDAO(){
		return new VoteDAOImpl();
	}
	public static VoteOptionDAO getVoteOptionDAO(){
		return new VoteOptionDAOImpl();
	}
	public static AlbumDAO getAlbumDAO(){
		return new AlbumDAOImpl();
	}
	public static FeedbackDAO getFeedbackDAO(){
		return new FeedbackDAOImpl();
	}
	public static InformationDAO getInformationDAO(){
		return new InformationDAOImpl();
	}
	public static TokenDAO getTokenDAO(){
		return new TokenDAOImpl();
	}
}
